package lang.SQLQueryParserRoutine;

import lang.SQLQueryToken;

import java.util.Set;
import java.util.HashSet;
import java.util.ArrayList;
import java.util.HashMap;

/**
 * User: [J0k3r]
* Date: 31.05.2008
* Time: 21:40:31
*/
public class SQLQueryParserState4Select
        extends SQLQueryParserState {
    private Set< String > tables = new HashSet<String>();
    private HashMap< String , ArrayList< String > > columns2Select = new HashMap<String, ArrayList<String>>();
    private ArrayList <SQLQueryToken> whereTokens = new ArrayList<SQLQueryToken>();

    public SQLQueryParserState4Select(SQLQueryParserAutomateState automatState) {
        this.automatState = automatState;
    }

    public HashMap<String, ArrayList<String>> getColumns2Select() {
        return columns2Select;
    }

    public Set<String> getTables() {
        return tables;
    }

    public ArrayList<SQLQueryToken> getWhereTokens() {
        return whereTokens;
    }
}
